package com.An.service;

import com.An.pojo.AdminUser;
import com.An.pojo.Student;
import com.An.pojo.StudentUser;

/**
 * @auther AnYang
 * @date 2022/3/25 15:16
 **/
public interface LoginService {
	//根据学号获取user
	StudentUser getUserBySno(Integer sno);

	//根据账号获取user
	StudentUser getUserByUserId(String userid);

	boolean updateBySno(StudentUser user);

	AdminUser getAdminUserById(Integer id);

	AdminUser getAdminUserByUsername(String username);

	//获得学生信息
	Student getStudentBySno(Integer sno);
}